#ifndef _DVB_EPG_DB_H
#define _DVB_EPG_DB_H

typedef struct
{
	unsigned short	netid;
	unsigned short	tsid;
	unsigned short	serviceId;
	unsigned int		freq;
	SECTIONDB*		sections;
}SCHEDULE;


extern SECTIONDB* DVBEPGGetScheduleDB(dvb_service_t* SerHandle);

extern SCHEDULE *DVBEPGGetScheduleSlot(unsigned short netid, unsigned short tsid, unsigned short sid);

extern SECTIONDB *DVBEPGGetPFDB(void);

extern int DVBEPGDBCreate();

extern int DVBEPGDBClear();


#endif//_DVB_EPG_DB_H

